package com.demo.server.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangdc
 * @date 2022/4/19
 */
@RestController
@RequestMapping("/hello")
public class HelloController {
    @RequestMapping("")
    public ResponseEntity<String> index() {
        return ResponseEntity.ok("hello");
    }
}
